import { BaseController, CoolController } from '@cool-midway/core'
import { NewsInfoEntity } from '../../entity/info'

/**
 * 新闻信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: NewsInfoEntity,
  pageQueryOp: {
    keyWordLikeFields: ['title'],
  },
})
export class AdminNewsInfoController extends BaseController { }
